<?php
class Solicitudes_Form_Valoracionpar extends Form_Cna {
	
	public function __construct($options = null) {
		parent::__construct($options);
	}
	
	public function init() {
		$this->setName('valoracion');
		$this->setMethod("post");
		
		$elements[] = new Zend_Form_Element_Hidden("codtramiteseccion");
		$elements[] = new Zend_Form_Element_Hidden("codtramiteelemento");
		    
        $element = new Zend_Form_Element_Textarea("justificacionvaloracion");
		$element->setRequired(true);
        $element->addFilter('StripTags');
		$element->addFilter('StringTrim');
		$element->setAttrib("rows",9);
		$element->setAttrib("style","width:99%");
		$elements[] = $element;
       
		$element = new Zend_Form_Element_Submit('btnSubmit');
		$element->setLabel('Guardar');
		$element->setValue('Guardar');
		$element->setAttrib("class", "iceCmdBtn");
		$elements[] = $element;
		
		$this->addElements ($elements);
		$this->loadTableDecorators();
	}
	
}
